package com.situ.firmadmin.service.impl;



import com.situ.firmadmin.mapper.RoleTypeMapper;
import com.situ.firmadmin.pojo.RoleType;
import com.situ.firmadmin.service.IRoleTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RoleTypeServiceImpl implements IRoleTypeService {
    @Autowired
    private RoleTypeMapper roleTypeMapper;

    @Override
    public List<RoleType> selectAll() {
        return roleTypeMapper.selectAll();
    }
    
    @Override
    public RoleType selectById(Integer id) {
        return roleTypeMapper.selectById(id);
    }
    
}
